package ar.camera.glsurfaceview.extend;

import android.content.Context;
import android.graphics.PixelFormat;
import android.opengl.GLSurfaceView;
import ar.camera.renderer.extend.RouteRenderer;

public class RouteSurfaceView extends GLSurfaceView {
	private final RouteRenderer renderer;

	public RouteSurfaceView(Context context) {
		super(context);

		setEGLConfigChooser(8, 8, 8, 8, 16, 0);
		getHolder().setFormat(PixelFormat.TRANSLUCENT);

		renderer = new RouteRenderer(context);
		setRenderer(renderer);
	}
}